//
//  HeapNode.swift
//  ArithmeticClass15
//
//  Created by xiangzuhua on 2020/12/23.
//

import UIKit

class HeapNode: NSObject {
    /// 值
    var value: Int
    /// 数组的标识
    var flag: Int = -1
    /// 所在数组的下标
    var index: Int
    
    init(_ value: Int,flag: Int = 0, index: Int = 0) {
        self.value = value
        self.flag = flag
        self.index = index
    }
}
